﻿@model PNProject.EF.OneContent
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout1.cshtml";
}
<script src="/Scripts/jquery-1.5.1.js" type="text/javascript"></script>
<div class="tebox">
@Html.Raw(Model.XContent)
</div>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".titlesub p").empty();
            var lang = document.URL.indexOf("en-US") < 0 ? true : false;
            if (lang) {
                $(".titlesub p").append("Giới thiệu");
                $("#ulink_home a").append("Trang chủ");
                $("#ulink_child a").append("Giới thiệu");
                $("#ulink_child a").attr("href", "/Intro");
            }
            else {
                $(".titlesub p").append("Introduction");
                $("#ulink_home a").append("Home");
                $("#ulink_home a").attr("href", "/en-US/home");
                $("#ulink_child a").append("Introduction");
                $("#ulink_child a").attr("href", "/en-US/Intro");
            }



        });
</script>